public class AgentSmith_Offering extends OfferingStrategy
| Modifier and Type | Class and Description |
|---|---|
class |
AgentSmith_Offering.BidComparator |
endNegotiation, helper, negotiationSession, nextBid, omStrategy, opponentModel| Constructor and Description |
|---|
AgentSmith_Offering()
Empty constructor called by BOA framework.
|
AgentSmith_Offering(NegotiationSession negoSession,
OpponentModel om,
OMStrategy oms) |
| Modifier and Type | Method and Description |
|---|---|
BidDetails |
determineNextBid()
Determines the next bid the agent will offer to the opponent
|
BidDetails |
determineOpeningBid()
Determines the first bid to be offered by the agent
|
Bid |
getMostOptimalBid()
Calculate the most optimal bid
|
void |
init(NegotiationSession negotiationSession,
OpponentModel model,
OMStrategy oms,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the offering strategy.
|
void |
initializeAgent(NegotiationSession negoSession,
OpponentModel om,
OMStrategy oms) |
getHelper, getNextBid, isEndNegotiation, setNextBidpublic AgentSmith_Offering()
public AgentSmith_Offering(NegotiationSession negoSession, OpponentModel om, OMStrategy oms)
public void init(NegotiationSession negotiationSession, OpponentModel model, OMStrategy oms, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
OfferingStrategyinit in class OfferingStrategynegotiationSession - state of the negotiation.model - opponent model which may be used.oms - opponent model strategy which may be used.parameters - optional parameters for the offering strategy.java.lang.Exception - if the offering strategy fails to initialize.public void initializeAgent(NegotiationSession negoSession, OpponentModel om, OMStrategy oms)
public BidDetails determineNextBid()
OfferingStrategydetermineNextBid in class OfferingStrategypublic BidDetails determineOpeningBid()
OfferingStrategydetermineOpeningBid in class OfferingStrategypublic Bid getMostOptimalBid()
java.lang.Exception